-- 基础信息
local base_info = {
	group_id = 199004207
}

-- Trigger变量
local defs = {
	group_id = 199004207,
	gadget_target_1S = 207002,
	gadget_target_1E = 207005,
	gadget_target_2S = 207003,
	gadget_target_2E = 207006,
	gadget_target_3S = 207004,
	gadget_target_3E = 207007
}

--================================================================
-- 
-- 配置
-- 
--================================================================

-- 怪物
monsters = {
}

-- NPC
npcs = {
}

-- 装置
gadgets = {
}

-- 区域
regions = {
}

-- 触发器
triggers = {
}

-- 变量
variables = {
	{ config_id = 1, name = "count", value = 0, no_refresh = false }
}

-- 废弃数据
garbages = {
	gadgets = {
		{ config_id = 207001, gadget_id = 70360008, pos = { x = -322.734, y = 231.710, z = -646.710 }, rot = { x = 0.000, y = 268.800, z = 0.000 }, level = 20, area_id = 400 },
		{ config_id = 207002, gadget_id = 70360011, pos = { x = -322.423, y = 237.406, z = -634.516 }, rot = { x = 0.000, y = 302.600, z = 0.000 }, level = 20, mark_flag = 2, area_id = 400 },
		{ config_id = 207003, gadget_id = 70360011, pos = { x = -315.228, y = 237.530, z = -642.694 }, rot = { x = 0.000, y = 240.700, z = 0.000 }, level = 20, mark_flag = 4, area_id = 400 },
		{ config_id = 207004, gadget_id = 70360011, pos = { x = -319.871, y = 234.471, z = -639.356 }, rot = { x = 0.000, y = 136.900, z = 0.000 }, level = 20, mark_flag = 8, area_id = 400 },
		{ config_id = 207005, gadget_id = 70360014, pos = { x = -322.626, y = 237.406, z = -634.834 }, rot = { x = 0.000, y = 187.800, z = 0.000 }, level = 20, route_id = 900400022, area_id = 400 },
		{ config_id = 207006, gadget_id = 70360014, pos = { x = -315.228, y = 237.530, z = -642.594 }, rot = { x = 0.000, y = 287.700, z = 0.000 }, level = 20, route_id = 900400023, area_id = 400 },
		{ config_id = 207007, gadget_id = 70360014, pos = { x = -319.871, y = 234.471, z = -639.356 }, rot = { x = 0.000, y = 299.100, z = 0.000 }, level = 20, route_id = 900400024, area_id = 400 }
	},
	triggers = {
		{ config_id = 1207009, name = "GADGET_STATE_CHANGE_207009", event = EventType.EVENT_GADGET_STATE_CHANGE, source = "", condition = "", action = "action_EVENT_GADGET_STATE_CHANGE_207009", trigger_count = 0 },
		{ config_id = 1207010, name = "GADGET_STATE_CHANGE_207010", event = EventType.EVENT_GADGET_STATE_CHANGE, source = "", condition = "condition_EVENT_GADGET_STATE_CHANGE_207010", action = "action_EVENT_GADGET_STATE_CHANGE_207010" },
		{ config_id = 1207011, name = "VARIABLE_CHANGE_207011", event = EventType.EVENT_VARIABLE_CHANGE, source = "", condition = "condition_EVENT_VARIABLE_CHANGE_207011", action = "action_EVENT_VARIABLE_CHANGE_207011" },
		{ config_id = 1207012, name = "GADGET_STATE_CHANGE_207012", event = EventType.EVENT_GADGET_STATE_CHANGE, source = "", condition = "condition_EVENT_GADGET_STATE_CHANGE_207012", action = "action_EVENT_GADGET_STATE_CHANGE_207012", trigger_count = 0 },
		{ config_id = 1207013, name = "GADGET_CREATE_207013", event = EventType.EVENT_GADGET_CREATE, source = "", condition = "condition_EVENT_GADGET_CREATE_207013", action = "action_EVENT_GADGET_CREATE_207013", trigger_count = 0 },
		{ config_id = 1207014, name = "SELECT_OPTION_207014", event = EventType.EVENT_SELECT_OPTION, source = "", condition = "condition_EVENT_SELECT_OPTION_207014", action = "action_EVENT_SELECT_OPTION_207014", trigger_count = 0 },
		{ config_id = 1207015, name = "GROUP_REFRESH_207015", event = EventType.EVENT_GROUP_REFRESH, source = "", condition = "", action = "action_EVENT_GROUP_REFRESH_207015" },
		{ config_id = 1207016, name = "ANY_GADGET_DIE_207016", event = EventType.EVENT_ANY_GADGET_DIE, source = "", condition = "", action = "action_EVENT_ANY_GADGET_DIE_207016", trigger_count = 0 },
		{ config_id = 1207017, name = "GADGET_CREATE_207017", event = EventType.EVENT_GADGET_CREATE, source = "", condition = "condition_EVENT_GADGET_CREATE_207017", action = "action_EVENT_GADGET_CREATE_207017", trigger_count = 0 }
	}
}

--================================================================
-- 
-- 初始化配置
-- 
--================================================================

-- 初始化时创建
init_config = {
	suite = 1,
	end_suite = 2,
	rand_suite = false
}

--================================================================
-- 
-- 小组配置
-- 
--================================================================

suites = {
	{
		-- suite_id = 1,
		-- description = ,
		monsters = { },
		gadgets = { },
		regions = { },
		triggers = { },
		rand_weight = 100
	},
	{
		-- suite_id = 2,
		-- description = ,
		monsters = { },
		gadgets = { },
		regions = { },
		triggers = { },
		rand_weight = 100
	}
}

--================================================================
-- 
-- 触发器
-- 
--================================================================